##################################################
*****   *********
##################################################

:      
  ,          
  

**************************************************
*********          ****************************
**************************************************

 .htaccess
:

# 
RewriteRule ^page/(.*)$ index.php?cstart=$1 [L]

 
#    
RewriteRule ^sf(/?)+$ index.php?do=search_xf [L]
RewriteRule ^sf/(.*)$ index.php?do=search_xf&q=$1 [L]

**************************************************
*********        *********************
**************************************************


/engine/modules/show.short.php



} elseif( $category_id and $cat_info[$category_id]['short_tpl'] != '' ) $tpl->load_template( $cat_info[$category_id]['short_tpl'] . '.tpl' );

 

elseif( $do == 'search_xf' && $config['sf_show_theme'] ) $tpl->load_template( $config['sf_show_theme'] . '.tpl' );


/engine/inc/options.php

:
showRow( $lang['opt_sys_reason'], $lang['opt_sys_reasond'], "<textarea class=\"edit bk\" style=\"width:350px;height:100px;\" name=\"save_con[offline_reason]\">{$config['offline_reason']}</textarea>" );

 :
showRow( "ShortStory  SearchFields", "       ", "<input class=\"edit bk\" type=text style=\"text-align: center;\" name=\"save_con[sf_show_theme]\" value=\"{$config['sf_show_theme']}\" size=30>" );
	

**************************************************
************** ******************
**************************************************


/engine/engine.php

:

		} elseif ($do == 'lastnews') {
			// ################     #################	

 :

		} elseif ($do == 'search_xf'){
			include ENGINE_DIR . '/modules/search_xf.php';



**************************************************
*****************************************
**************************************************

 show.short.php
   (   )
        
   .
  !

  

if ($j == 1)
	$pages .= "<a href=\"" . $url_page . "/\">$j</a> ";
else
	$pages .= "<a href=\"" . $url_page . "/page/" . $j . "/\">$j</a> ";
									
									
 
									
if ($j == 1)
{
	if($do == 'search_xf')
		$pages .= "<a href=\"" . $url_page . "\">$j</a> ";
	else
		$pages .= "<a href=\"" . $url_page . "/\">$j</a> ";
}else{

	if($do == 'search_xf')
		$pages .= "<a href=\"" . $url_page . "page:" . $j . "/\">$j</a> ";
	else
		$pages .= "<a href=\"" . $url_page . "/page/" . $j . "/\">$j</a> ";
}

 
$next = $url_page . '/page/' . $next_page . '/';


$next = $do == 'search_xf' ? $url_page . 'page:' . $next_page . '/' : $url_page . '/page/' . $next_page . '/';


$prev_page = $url_page . "/page/" . $prev . "/";

 
$prev_page = $do == 'search_xf' ? $url_page . "page:" . $prev . "/"  : $url_page . "/page/" . $prev . "/";


$prev_page = $url_page . "/";

 
$prev_page = $do == 'search_xf' ? $url_page : $url_page . "/";


if( $config['allow_alt_url'] == "yes" ) $pages .= "<a href=\"" . $url_page . "/\">1</a> <span class=\"nav_ext\">{$lang['nav_trennen']}</span> ";

 
if( $config['allow_alt_url'] == "yes" ) $pages .= $do =='search_xf' ? "<a href=\"" . $url_page . "\">1</a> <span class=\"nav_ext\">{$lang['nav_trennen']}</span> " : "<a href=\"" . $url_page . "/\">1</a> <span class=\"nav_ext\">{$lang['nav_trennen']}</span> ";
**************************************************
***************************************
**************************************************
/engine/engine.php


} elseif ($news_found and $cache_id < 6) create_cache ( "news", $tpl->result['content'], $cache_id . $cache_prefix, true );

 

} elseif ($news_found and $cache_id < 6){ 
	if($do != 'search_xf'){
		create_cache ( "news", $tpl->result['content'], $cache_id . $cache_prefix, true );
	}
}

**************************************************
*********  ************
**************************************************		
#####################################################################################################				
        
        .. 
         ...
       
       ,   
   10 ...

    -  " " - "  "
              
#####################################################################################################

          (, ,    ..)
       ( ) -          

     ...

######################################################################################################
									
       :


 ( name  ):

do = search_xf //   (hidden),    search_xf      searchfields     
loc = 1 //       
category //          ,    .        
news_sort_by //   -    (   ...)      
news_direction_by //    ASC -    DESC -   -        

          
int_start_ //   -           
int_end_ //   -    

          -   
            ,    ...

      3      price, quantity, type
 2   

<form action="/" name="search_xf" method="GET">
	<input type="hidden" name="do" value="search_xf" />
	 <input type="hidden" name="loc" value="1" />
	 
	  <input type="text" name="int_start_price" />
	  <input type="text" name="int_end_price" />
	 <br />
	 
	 <input type="radio" name="quantity" value="10"/>
	 <input type="radio" name="quantity" value="100"/>
	 <input type="radio" name="quantity" value="1000"/>
	 
	 
	 <select name="type" id="">
		<option value=""></option>
		<option value=""></option>
		<option value=""></option>
	 </select>
</form>

        -       -        ...


